//Compile: g++ minlist_test.cpp -o minlist_test

#include <iostream>
#include "../minlist.h"

int main() {
    MinList list(5);

    MinListEntry entry1 = {1, 1.5f};
    MinListEntry entry2 = {2, 0.5f};
    MinListEntry entry3 = {3, 2.5f};
    MinListEntry entry4 = {4, 6.5f};
    MinListEntry entry5 = {5, 0.1f};
    MinListEntry entry6 = {6, 2.5f};

    list.insert(&entry1);
    list.insert(&entry2);
    list.insert(&entry3);
    list.insert(&entry4);
    list.insert(&entry5);
    list.insert(&entry6);

    list.print();

    return 0;
}